import { request } from '../../../services/request';

export async function getOQCHeaderLis(params: { current: number; size: number; state: number; check_type: number }) {
    console.log('请求参数:', params);
    try {
        const res = await request('app/qms/getOQCHeaderList', {
            method: 'POST',
            body: JSON.stringify(params),
        });
        console.log('接口返回值:', res);
        return res;
    } catch (error) {
        console.log('接口请求出错:', error);
        throw error;
    }
} 